
-- UI -- 
local i26_badge_position_list = {
	{-1100, 90, 0}, 
    {-1100, -180, 0}, 
    {-1100, -480, 0}, 
    {-600, -480, 0}, 
    {-600, -180, 0},
    {-600, 90, 0}, 
    {-100, 90, 0},
    {-100, -180, 0}, 
    {-100, -480, 0},
}

local i26hud = require("widgets/i26hud")
local function AddHDHUD(self)
    if not self.owner or not self.owner:HasTag("i26") 
    then return end
    self.i26hud = self:AddChild(i26hud(self.owner))
    self.i26hud:SetPosition(unpack(i26_badge_position_list[GetModConfigData("i26_badge_position")]))
end

AddClassPostConstruct("widgets/statusdisplays", AddHDHUD)